﻿using AutoMapper;
using LpbPrj.Client.Records;
using LpbPrj.Client.Records.Dtos;

namespace LpbPrj.Client.Records.Mapper
{
    internal static class RecordMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression mapperConfig)
        {
            mapperConfig.CreateMap<RecordEditDto, Record>();
            mapperConfig.CreateMap<Record, RecordEditDto>();

            mapperConfig.CreateMap<RecordListDto, Record>();
            mapperConfig.CreateMap<Record, RecordListDto>();


        }
    }
}